package com.wxz.sanguo.edit.formation;

import java.util.Stack;

import com.wxz.sanguo.common.Point;

public class FormationEditConsole {

	private Stack<Point> positionStack = new Stack<Point>();

	public FormationEditConsole() {

	}

	public void addPositionStack(Point point) {

		if (this.positionStack.size() >= 10) {
			return;
		}

		this.positionStack.push(point);
	}

	public void removePositionStack() {
		this.positionStack.pop();
	}

	public Stack<Point> getPositionStack() {
		return positionStack;
	}
}
